import * as React from 'react';
import { createElement } from 'react';
// import type { ChangeEvent } from 'antd';
import { BaseWrapper } from '../base';
import './fieldInput.less';
import { FieldInputWeb } from './FieldInputWeb';

export interface FieldInputProps {
  max: string;
}

export const FieldInput: React.FC<FieldInputProps> = function FieldInput(props) {
  return (
    <BaseWrapper {...props}>
      {/* {isMobile && <FieldInputWeb {...props} />}
      {!isMobile && <FieldInputWeb {...props} />} */}
      <FieldInputWeb {...props} />
    </BaseWrapper>
  );
};
